package pers.liyan.shi.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * hystrix-dashboard
 * url http://localhost:9001/hystrix
 * 仪表盘上只能监控到使用 {@code @HystrixCommand}标注的URL的信息
 */
@SpringBootApplication
@EnableHystrixDashboard
public class SpringCloudHystrixDashboardApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringCloudHystrixDashboardApplication.class);
    }
}
